import tableServiceAbstract from "@/core/table/tableService.interface";
export default class channelListService implements tableServiceAbstract {
  getTable(params: any): Promise<any> {
    return new Promise((resolve) => {
      resolve({
          code: 200,
          data: {
            // total:10,
            // data:[
            //   {
            //     id:1,
            //     login_name:'13755884837',
            //     realname:'张三',
            //     mobile:'13755884837',
            //   }
            // ]
          },
          msg: 'success',
      });
    })
  }
  delete(params: any): Promise<any> {
    return new Promise((resolve) => {
      resolve({
        data: {
          code: 200,
          data: {},
          msg: 'success',
        }
      });
    })
  }
  add(params: any): Promise<any> {
    return new Promise((resolve) => {
      resolve({
        data: {
          code: 200,
          data: {},
          msg: 'success',
        }
      });
    })
  }
  edit(params: any): Promise<any> {
    return new Promise((resolve) => {
      resolve({
        data: {
          code: 200,
          data: {},
          msg: 'success',
        }
      });
    })
  }
  detail(params: any): Promise<any> {
    return new Promise((resolve) => {
      resolve({
        data: {
          code: 200,
          data: {},
          msg: 'success',
        }
      });
    })
  }
}